﻿namespace EveKillboard.Core
{
    using Base;
    using System.ComponentModel.DataAnnotations;
    using System;
    
    [Table("KillmailValues")]
    public class KillmailItemValue : KillmailItemValueBase
    {
        [Key]
        [Column("ID")]
        public override int Id { get; set; }
        [Column("KillmailID")]
        public override int KillmailId { get; set; }
        [Column("ItemID")]
        public override int ItemId { get; set; }
        [Column("ItemValue")]
        public override decimal ItemValue { get; set; }
        [Column("SourceID", TypeName = "smallint")]
        public override short SourceId { get; set; }

        public virtual Item Item { get; set; }
        public virtual Killmail Killmail { get; set; }
    }
}